<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-Type" content="text/html; charset=utf-8" />
    <meta name="Generator" content="editPlus">
    <meta name="Author" content="">
    <meta name="Keywords" content="">
    <meta name="Description" content="">

    <title>内容</title>
    
	<link href="css/administrate_content.css" type="text/css" rel="stylesheet" />
	<link href="css/global.css" type="text/css" rel="stylesheet" />
	
    <script src="public_js/jquery-1.5.1.min.js"></script>
    <script src="public_js/jquery.form.js"></script>
    <script src="public_js/xheditor/xheditor-zh-cn.min.js?v=1.1.5"></script>
    
</head>
<body>
    <div class="con_whole">
        <!-- 内容导航 -->
	    <div class="con_nav">
		    <div class="nav_links">
                <a href="#">180c管理中心</a>
			    <a href="#">编辑站点基本信息</a>
			</div>
        </div>
		<!-- 添加新商品 -->
		<div class="list_con_nav">
			<ul>
				<li><a class="m curr_menu" id="menu_1" href="#">添加</a></li>
			</ul>
		</div>
			<form action="api-admin_site_profile_update" method="POST" class="add_use">
			<!-- 基本信息开始 -->
				<table id="menu_1_content" cellspacing="0" cellpadding="0" width="100%" class="add_tab">
					<tbody>
						<?php if (empty($profiles) === FALSE) : ?> 
						<?php foreach ($profiles AS $v) : ?>
							<tr class="even">
								<td class="add_tab_tit"><?php echo $v['name']; ?>：</td>
								<td>
									<!-- 使用不同的输入框样式 -->
									<?php if ($v['style'] == 1) : ?>
										<input class="is_text" type="text" name="p[<?php echo $v['key']; ?>]" value="<?php echo $v['value']; ?>" />
									<?php endif; ?>
									<?php if ($v['style'] == 2) : ?>
										<textarea name="p[<?php echo $v['key']; ?>]"><?php echo $v['value']; ?></textarea>
									<?php endif; ?>
									<?php if ($v['style'] == 3) : ?>
										<textarea name="p[<?php echo $v['key']; ?>]" class="xheditor {skin:'o2007blue'}"><?php echo $v['value']; ?></textarea>
									<?php endif; ?>
									<!-- 结束输入框 -->
								</td>
							</tr>
						<?php endforeach; ?>
						<?php endif; ?>
						<!-- 提交 -->
						<tr id="putin" class="even">
							<td colspan="2">
								<input type="submit" name="put_in" class="button" value="确定" />
							</td>
						</tr>
						<!-- 提交 end-->
					</tbody>
				</table>
			
			</form>

	   <div class="footer">
	       <p>共执行 4 个查询，用时 0.016487 秒，Gzip 已禁用，内存占用 2.641 MB<br />
           版权所有 © 2005-2008 上海商派网络科技有限公司，并保留所有权利。
           </p>
	   </div>
	</div>
</body>
</html>